Skip to main content

DescribeCheckWarningSummary

Description

Call this interface to view the statistics of baseline check results, such as the number of servers for baseline check, the number of baseline check items, and the latest check pass rate.

Request Method

POST

Request Path

/apsara/route/Sas/DescribeCheckWarningSummary

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
StatusBODYstringNo1check item status. 1: failed 2: Validation 3: Passed 5: expired 6: Ignored
TypeNameBODYstringNodatabasebaseline primary type.
PageSizeBODYintegerNo10when paging query, the maximum number of data is displayed on each page.
StrategyIdBODYlongNo1baseline check policy ID.
LangBODYstringNozhthe language type of the request and receive message. zh: Chinese en: English
RiskStatusBODYintegerNo1status of baseline check. 1: failed 3: Passed
versionBODYstringNo2016-01-01version of api
RiskNameBODYstringNoRedis security baseline checkbaseline check risk item name.
SourceIpBODYstringNo1.2.3.4access source IP address.
CurrentPageBODYintegerNo1page number when paging query.
regionIdBODYstringYesNo sample value for this parameter.region id
UuidsBODYstringNof03259d8-1e81-4fae-bcbb-275fb5******machine ID.

Return data

NameTypeSample valueDescription
RiskIdlong1risk item ID.
PageSizeinteger10the number of data items displayed on each page in the result.
RequestIdstring00BD7CE2-284A-4534-BD09-FB69836DD750request ID of the result.
CheckCountinteger10number of baseline check items.
TypeAliasstringdatabasethe classification of baseline check items, such as database, system, weak password detection and middleware.
Countinteger10number of detection items displayed on the current page.
LowWarningCountinteger3the number of low-risk check items.
RiskNamestringRedis password checkbaseline check risk item name.
SubTypeAliasstringRedis checkrisk item secondary classification.
LastFoundTimestring2019-01-01 12:23:00the last time the baseline check was performed.
MediumWarningCountinteger2the number of dangerous check items.
TotalCountinteger100the total number of baseline checks.
CurrentPageinteger1the page number of the current page displayed in the result.
WarningMachineCountinteger11the number of assets with baseline risk items detected.
HighWarningCountinteger1number of high-risk check items.
Levelstringhighthe risk level of the baseline check risk item. Contains the following grades: High risk medium risk Low risk
WarningSummarysarrayNo sample value for this parameter.check item statistics details.

Example

Successful Response example

{
"RiskId":"1",
"PageSize":"10",
"RequestId":"00BD7CE2-284A-4534-BD09-FB69836DD750",
"CheckCount":"10",
"TypeAlias":"database",
"Count":"10",
"LowWarningCount":"3",
"RiskName":"Redis password check",
"SubTypeAlias":"Redis check",
"LastFoundTime":"2019-01-01 12:23:00",
"MediumWarningCount":"2",
"TotalCount":"100",
"CurrentPage":"1",
"WarningMachineCount":"11",
"HighWarningCount":"1",
"Level":"high",
"WarningSummarys":""
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}